package NIO;

import java.io.Serializable;

public class Classmate implements Serializable {
    String name;
    String id;
    Classmate(String name,String id)
    {
        this.name=name;
        this.id=id;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public String getId() {
        return id;
    }
    public void setId(String id) {
        this.id = id;
    }
    @Override
    public String toString() {
        return "Classmate [name=" + name + ", id=" + id + "]";
    }

}
